import type { AppRouteType } from "../type";

const watchEff: AppRouteType = {
  path: "/watchEff",
  name: "WatchEff",

  meta: {
    title: "watch-Eff进阶",
    icon: "Notebook",
    order: 13,
    needAuth: true,
  },
  children: [
    {
      path: "eff",
      name: "Eff",
      component: () => import("@/views/watchEff/eff/index.vue"),
      meta: {
        title: "watchEffect进阶",
      },
    },
    {
      path: "wat",
      name: "Wat",
      component: () => import("@/views/watchEff/wat/index.vue"),
      meta: {
        title: "watch进阶",
      },
    },
    {
      path: "effScope",
      name: "EffScope",
      component: () => import("@/views/watchEff/effScope/index.vue"),
      meta: {
        title: "effectScope",
      },
    },
  ],
};

export default watchEff;
